package com.mapper;

import com.domain.Article;

import java.util.List;

public interface ArticleMapper {
    List<Article> selectAll();

    void delete(int id);

    void insert(Article article);

    void update(Article article);

    Article selectById(int id);

    List<Article> queryByOne();

    List<Article> queryByZero();


}
